package com.honey.mybatis.generator.page.field;

import com.honey.core.types.FullyQualifiedJavaType;
import com.honey.mybatis.generator.AbstractField;

public class DirField extends AbstractField {

	private static final String FIELD_NAME="dir" ;
	
	private static final FullyQualifiedJavaType TYPE = new FullyQualifiedJavaType("Dir");
	
	private static final String[] JAVA_DOC=new String[]{
		"排序方式(DESC或者ASC)"
	} ;
	
	private static final String INITIALIZATION = "Dir.DEFAULT" ;
	
	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getFieldName()
	 */
	@Override
	protected String getFieldName() {
		return FIELD_NAME;
	}
	
	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getJavaDoc()
	 */
	@Override
	protected String[] getJavaDoc() {
		return JAVA_DOC;
	}
	
	
	@Override
	protected String getInitialization() {
		return INITIALIZATION;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getType()
	 */
	@Override
	protected FullyQualifiedJavaType getType() {
		return TYPE;
	}
}
